home *** CD-ROM | disk | FTP | other *** search
-
- (* Listing 2: BYTE disk read benchmark in Turbo Pascal. *)
-
- { copywrited 1984 by Laine Stump. For private, non-commercial use only }
-
- PROGRAM read (output, infile);
-
- CONST
- nr = 512;
-
- VAR
- infile : text;
-
- b : string[128];
- i : integer;
-
- begin
- assign (infile, 'b:test');
- reset (infile);
- FOR i := 1 to nr DO
- read (infile, b);
- close (infile);
- writeln ('done');
- end. { read }
-
-
-
-
-
-
-